package com.job.admin.audit.controller;

import com.job.admin.audit.service.AuditService;
import com.job.client.common.result.ResponseResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/api/v1/admin/audit")
@Api(tags = "审核综合接口文档")
public class AuditController {
    @Autowired
    private AuditService auditService;

    @GetMapping("/getAuditInfo")
    @ApiOperation("获得该用户未审核的数据")
    public ResponseResult getAuditInfo(@RequestParam String userId){
        return auditService.getAuditInfo(userId);
    }
}
